/*
 * Improbability Drive
 * Phillip Cardon, Thach Nguyen, Cristopher Claeys
 * 4/26/2011
 */

package testers;

import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;

public class WebAccessTest {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		URL url = new URL( "http://google.com" );
		URLConnection uconn = url.openConnection();
		HttpURLConnection conn = (HttpURLConnection)uconn;
		conn.setConnectTimeout( 10000 );
		conn.setReadTimeout( 10000 );
		conn.setInstanceFollowRedirects( true );
	}

}
